﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ggHD.Domain.BizObj;
using OpenPop.Mime;

namespace ggHD.Domain.Repisitories
{
    public interface IRawMailRepository : IRepository<RawMail, long>
    {
        Message GetAsMessage(long key);

        IEnumerable<MailHeader> SelectMailHeaders(Func<RawMail, bool> cond);
        MailHeader GetMailHeader(long key);
    }

   
}
